package com.hc.dfs.dailog;

import android.app.AlertDialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

/** 
 * @author 王洪胜  E-mail:  
 * @version 创建时间：2013-2-25 下午2:29:03
 * 
 * 类说明：
 *
 */
public abstract class BaseDialog {
	public Context context;
	public View view;
	public AlertDialog.Builder dialog;
	
	public BaseDialog(int layout, Context context){
		this.context = context;
		view = LayoutInflater.from(context).inflate(layout, null);
		dialog = new AlertDialog.Builder(context).setView(view);
		setDialog();
	}
	
	public abstract void setDialog();
}
